const Qfpage = (props)=>{
    // 函数组件就是通过第一个参数来获取自定义属性

    const { title ,children } = props
    return (
        <div style={{height:'100%',padding:'20px'}}>
            <div style={{fontWeight:700,lineHeight:3}}> 
                 { title } 
             </div>    
            { children }
        </div>
    )

}

export default Qfpage